A Practical Approach for Finding Stale References in a Dynamic Service Platform
نویسندگان
چکیده
The OSGiTM Service Platform is becoming the de facto standard for modularized Java applications. The market of OSGi based COTS components is continuously growing. OSGi specific problems make it harder to validate such components. The absence of separate object spaces to isolate components may lead to inconsistencies when they are stopped. The platform cannot ensure that objects from a stopped component will no longer be referenced by active code (a problem referred by OSGi specification as stale references) leading to memory retention and inconsistencies (e.g., utilization of invalid cached data) that can introduce faults in the system. This paper classifies different patterns of stale references detailing them and presents techniques based on Aspect Oriented Programming for runtime detection of such problems. We also present a fail-stop mechanism on services to avoid propagation of incorrect results. These techniques have proven to be effective in a tool implementation that validated our study.
منابع مشابه
Analysis of Media Consumption Behavior of Sports Fans with a Network Approach
Fans like to talk about their favorite team and players with others. Professional team fans use social media to learn more about teams, connect with other fans, follow teams and players, and build a fan community. Social media by creating a network of users has become a platform for researchers to study fan behavior. Given that members of the fan community interact with each other, their opinio...
متن کاملIsolation and Collaboration of Component-based and Service-based Applications
The OSGiTM Service Platform is becoming the de facto standard for modularized Java applications. The market of OSGi based Commercial-off-the-shelf components is continuously growing. OSGi specific problems make it harder to validate such components. The absence of separate object spaces to isolate components may lead to inconsistencies when they are stopped. The platform cannot ensure that obje...
متن کاملSeismic Behavior of Jacket Offshore Platform Subjected to Near and Far Field Ground Motions
Offshore structures such as jacket platforms have to inevitably be designed against sever environmental actions. In seismically active areas these structures also become susceptible to earthquake excitations. Strong ground motions recorded in recent earthquakes, including the 1995 Kobe, Japan, 1999 Chi-chi, Taiwan and 1999 Kocaeli, Turkey earthquakes, revealed that the dynamic motions in nea...
متن کاملA genetic algorithm approach for a dynamic cell formation problem considering machine breakdown and buffer storage
Cell formation problem mainly address how machines should be grouped and parts be processed in cells. In dynamic environments, product mix and demand change in each period of the planning horizon. Incorporating such assumption in the model increases flexibility of the system to meet customer’s requirements. In this model, to ensure the reliability of the system in presence of unreliable machine...
متن کاملThe Effect of Climate Change on Economic Growth (Dynamic Computable General Equilibrium Model Approach in Iran)
Climate change is one of the most important issues affecting different economic sectors. Although this phenomenon has had a larger effect on the agricultural sector due to the heavy dependence of agriculture on weather conditions as compared to the other economic sectors, other economic sectors such as the industry, mining and service sectors are also influenced by weather changes due to their ...
متن کامل